<?php
/**
 * <https://y.st./>
 * Copyright © 2018 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'<{title}>' => 'Setting up an appointment',
	'takedown' => '2017-11-01',
	'<{body}>' => <<<END
<img src="/img/CC_BY-SA_4.0/y.st./weblog/2018/12/19.jpg" alt="Eyeglasses on display" class="framed-centred-image" width="649" height="480"/>
<section id="drudgery">
	<h2>Drudgery</h2>
	<p>
		My discussion posts for the day:
	</p>
	<blockquote>
		<p>
			You say that $a[PHP] is slower than JavaScript due to $a[PHP] having automatic garbage collection, but that doesn&apos;t make any sense.
			<a href="https://javascript.info/garbage-collection">JavaScript actually has automated garbage collection as well!</a>
			I don&apos;t doubt that JavaScript would be the faster of the two languages though.
			As another student pointed out, JavaScript&apos;s $a[API] has less to it.
			You can&apos;t, for example, access the filesystem.
			With less available in the $a[API], the language is probably often implemented in a very quick and light-weight way.
		</p>
	</blockquote>
	<blockquote>
		<p>
			You&apos;re right.
			Even without running the code, we can see that this is in-order traversal.
			It&apos;s all spelled out for us in the code.
			Although the code doesn&apos;t have the explicit comments you added, we can see that the left subtree is dealt with, then the parent node, and finally the right subtree.
			This is the signature of in-order traversal.
		</p>
	</blockquote>
</section>
<section id="eyeglasses">
	<h2>Minetest</h2>
	<p>
		I biked to the eyeglass store and set up an appointment.
		This coming Sunday at noon, I&apos;ll finally get my eyes examined and glasses prescribed.
		It&apos;s going to be costly, but I&apos;ve been saving up for a while now.
		I plan to get the least-expensive glasses the store sells, though I think I might splurge a little and get the anti-glare coating on them.
		Assuming my eyes stay the same for a few years so I don&apos;t need new glasses, being able to see better at night will be more than worth the price.
	</p>
</section>
END
);
